package com.yonyou.cyxdms.sysAuth.service.service.vehicleProduct;

import com.yonyou.cyxdms.sysAuth.service.mapper.CarFactoryBasicinfoMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;
import java.util.Map;

/**
* 车辆主数据
* @author lxj
* @date 2019年1月7日
*/
@Service
@Transactional(rollbackFor = Exception.class)
public class VehicleMasterInfoServiceImpl implements VehicleMasterInfoService {


	@Autowired
	CarFactoryBasicinfoMapper carFactoryBasicinfoMapper;

	@Override
	public List<Map<String,Object>> findByModelCode(Integer productId,String modelCode) {


		return carFactoryBasicinfoMapper.findByModelCode(modelCode,productId);

	}

}
